package com.zh.operation.dao;

import com.zh.operation.domain.EatDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 每日食谱
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-04-13 14:00:20
 */
@Mapper
public interface EatDao {

	EatDO get(String id);
	
	List<EatDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(EatDO eat);
	
	int update(EatDO eat);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<String> getPaymetName(String id);

	List<String> getPaymetIds(String id);

	EatDO getEat(EatDO eat);
}
